projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fca5d3
)
(directory_files_internal): Fix a braino.
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 9 Nov 2000 15:42:35 +0000
(15:42 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 9 Nov 2000 15:42:35 +0000
(15:42 +0000)
src/dired.c
patch
|
blob
|
history
diff --git
a/src/dired.c
b/src/dired.c
index c6466bb967ab19fe6914902b01e662d784978372..9fd9bffc4f161c111d36bf30451d8c192178714e 100644
(file)
--- a/
src/dired.c
+++ b/
src/dired.c
@@
-251,8
+251,7
@@
directory_files_internal (directory, full, match, nosort, attrs)
directory_nbytes);
if (needsep)
- XSTRING (fullname)->data[directory_nbytes + 1]
- = DIRECTORY_SEP;
+ XSTRING (fullname)->data[directory_nbytes] = DIRECTORY_SEP;
bcopy (XSTRING (name)->data,
XSTRING (fullname)->data + directory_nbytes + needsep,